package com.xm_jd.controller.ht;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xm_jd.utils.BaseServlet;


@WebServlet("/admin-order")
public class AdminOrderServlet extends BaseServlet {
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		//查询订单列表
		try {
//			List<Orders> list = new OrderDao().findAllOrders();
//			req.setAttribute("list", list);
			this.forward("admin-order");
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
}
